solar inverter circuit explained